/* pages/stock/index.wxss */
.container {
  .goodsListBox {
    width: 100%;

    .goodsMenuBox {
      position: relative;
      width: 100%;
      background: white;
      padding: 10rpx;

      .goodsItem {
        width: 90%;
        height: 150rpx;
        margin: 10rpx auto;
        box-shadow: var(--main-div-shadow);

        .picBox {
          position: relative;
          width: 100%;
          height: 150rpx;
          margin: auto;

          .pic {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100rpx;
            height: 100rpx;
          }
        }

        .contentBox {
          font-size: var(--small-font-size);
          position: relative;
          height: 150rpx;
          width: 100%;

          .content {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            .name{
              margin-bottom: 8rpx;
            }
            .price{
              margin-bottom: 8rpx;
            }
            .cavity{
              color: #377f7f;
            }
          }
        }
      }
    }
  }
}